Skip to content

test: Add basic authentication integration tests for SSE transport#561

Merged
kpavlov merged 1 commit intomainfrom
kpavlov/auth-tests-sse
Feb 26, 2026
Merged

test: Add basic authentication integration tests for SSE transport#561
kpavlov merged 1 commit intomainfrom
kpavlov/auth-tests-sse

Conversation

@kpavlov
Copy link
Contributor

@kpavlov kpavlov commented Feb 23, 2026

Add basic authentication integration tests for SSE transport

  • Added AbstractAuthenticationTest base class to define reusable scenarios for authentication tests.
  • Implemented SseAuthenticationTest for SSE transport.
  • Added support for Ktor server-auth and updated project dependencies.

Motivation and Context

  1. To verify that Route extensions work for SSE protocol
  2. To lay a foundation for security tests for other HTTP-based protocols

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • New test added
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

- Added `AbstractAuthenticationTest` base class to define reusable scenarios for authentication tests.
- Implemented `SseAuthenticationTest` for SSE transport.
- Added support for Ktor `server-auth` and updated project dependencies.
@kpavlov kpavlov force-pushed the kpavlov/auth-tests-sse branch from d52808d to edbb1ea Compare February 23, 2026 18:05
@kpavlov kpavlov requested a review from devcrocod February 23, 2026 19:21
@kpavlov kpavlov marked this pull request as ready for review February 23, 2026 19:21
@kpavlov kpavlov requested a review from aozherelyeva February 23, 2026 19:21
Copy link
Collaborator

@aozherelyeva aozherelyeva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for me, thank you very much

@kpavlov kpavlov merged commit 27b419c into main Feb 26, 2026
17 of 18 checks passed
@kpavlov kpavlov deleted the kpavlov/auth-tests-sse branch February 26, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants